package socket_client;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.Socket;

public class clientTest {
	public void main(String[] args){
		Socket socket = null;
		InputStream is;
		OutputStream os;
		
		String serverIp = "127.0.0.1";
		int  serverPort = 10010;
		
		byte[] d = "hello".getBytes();
		
		try {
			socket = new Socket( serverIp, serverPort);
			
			new TcpLogicThread(socket, d);
			
		} catch (IOException e) {
			e.printStackTrace();
		}
		
	}
}
